import request from "@/utils/request";
export function usualScorelineChart(params,courseStuId) {
  return request({
    url: `/school/teacher/usuallyPoints/usualScorelineChart/${courseStuId}`,
    method: "get",
    params: params,
  });
}
export function classIndexScore(courseSchedulingId,params) {
  return request({
    url: `/school/teacher/teachingPage/classIndexScore/${courseSchedulingId}`,
    method: "get",
    params: params,
  });
}
export function classIndexScoreList(courseSchedulingId,params) {
  return request({
    url: `/school/teacher/teachingPage/classIndexScoreList/${courseSchedulingId}`,
    method: "get",
    params: params,
  });
}
export function classNormal(courseSchedulingId,params) {
  return request({
    url: `/school/teacher/usuallyPoints/classNormal/${courseSchedulingId}`,
    method: "get",
    params: params,
  });
}
export function listusuallyPoints(courseSchedulingId,params) {
  return request({
    url: `/school/teacher/usuallyPoints/courseClassNormal/${courseSchedulingId}`,
    method: "get",
    params: params,
  });
}
export function addusuallyPoints(data) {
    return request({
      url: "/school/teacher/usuallyPoints/courseStuNormal",
      method: "post",
      data:data
    });
  }
  export function updateusuallyPoints(data) {
    return request({
      url: "/school/teacher/usuallyPoints",
      method: "put",
      data:data
    });
  }
  export function detailusuallyPoints(courseStuId,params) {
    return request({
      url: `/school/teacher/usuallyPoints/courseStuNormal/${courseStuId}`,
      method: "get",
      params: params,
    });
  }
  export function delusuallyPoints(id) {
    return request({
      url: `/school/teacher/usuallyPoints/${id}`,
      method: "delete",
    });
  }
